<template>
	<view class="container">
		<view class="detail-box">
			<view class="image-diy">
				
			</view>
			<view class="name-tel">
				<text>税建伟</text>
				<text>13111111111</text>
			</view>
			<view class="save-btn" @click="telPhone">
				一键拨打
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			telPhone(){
				uni.makePhoneCall({
					phoneNumber: '13111111111'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container{
		width: 100%;
		.detail-box{
			width: 400upx;
			margin: 0 auto;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			margin-top: 200upx;
			.image-diy{
				background-color: #666;
				width: 200upx;
				height: 200upx;
				border-radius: 50%;
			}
			.name-tel{
				margin-top: 50upx;
				display: flex;
				flex-direction: column;
				align-items: center;
				text{
					color: #6c6c6c;
					&:first{
						font-size: 32upx;
					}
					&:last-child{
						font-size: 26upx;
					}
				}
			}
			.save-btn{
				margin-top: 100upx;
				width: 280upx;
				text-align: center;
				height: 80upx;
				line-height: 80upx;
				font-size: 32upx;
				color: #fff;
				font-weight: bold;
				border-radius: 10upx;
				background-color: #DDA867;
			}
		}
	}
</style>